package com.ss.android.article.share.entity;

import com.ss.android.model.BaseArticle;
import java.io.Serializable;

public class ShareItemIdInfo implements Serializable {
    public long adId;
    public int mAggrType;
    public long mGroupId;
    public long mItemId;
    public int mShareType;

    public ShareItemIdInfo(long arg12) {
        this(arg12, 0, 0, 1, 0);
    }

    public ShareItemIdInfo(long arg2, long arg4, int arg6, int arg7, long arg8) {

        this.mGroupId = arg2;
        this.mItemId = arg4;
        this.mAggrType = arg6;
        this.mShareType = arg7;
        this.adId = arg8;
    }

    public ShareItemIdInfo(long arg12, long arg14, int arg16) {
        this(arg12, arg14, arg16, 1, 0);
    }

    public ShareItemIdInfo(BaseArticle arg3) {

        this.mGroupId = arg3.groupId;
        this.mItemId = arg3.itemId;
        this.mAggrType = arg3.aggrType;
        this.mShareType = 1;
        this.adId = 0;
    }

    public String getItemKey() {
        String v0 = this.mItemId > 0 ? "i_" + this.mItemId : "g_" + this.mGroupId;
        return v0;
    }

    public boolean skipDedup() {
        return false;
    }
}

